package cz.muni.fi.pa036is.servicesinterface;

import cz.muni.fi.pa036is.dto.AdmissionFormTO;
import cz.muni.fi.pa036is.dto.AdmissionGridTO;
import cz.muni.fi.pa036is.dto.PersonDetailTO;
import cz.muni.fi.pa036is.entity.Admission;
import cz.muni.fi.pa036is.entity.Person;
import java.util.List;

/**
 *
 * @author Shebik
 */
public interface AdmissionService {

    public void addAdmission(AdmissionFormTO admissionFormTO);

    public void editAdmission(AdmissionFormTO admissionFormTO);

    public void deleteAdmission(AdmissionGridTO admission);
	
	public void deleteAdmission(Long personId, Long seasonId);

    public AdmissionFormTO getAdmissionForm(Long personId, Long seasonId);

    public List<AdmissionGridTO> getAllAdmissions();
				
	public List<AdmissionGridTO> getAdmissionsForPerson(PersonDetailTO person);
}
